<template>
     <div class="header">
         <span @click="$router.go(-1)">《 </span>
       {{ $route.meta.name ?  $route.meta.name : "微信"}}
     </div>
</template>

<script>
export default {
    mounted(){
        console.log(  this.$route.meta.name);
      
    }
}
</script>

<style>
   .header {
       width: 100%;
       background: #ccc;
       height: 60px;
   }
</style>